﻿@{
    ViewBag.Title = "My Projects";
}

<br />
<br />
<h3><i>My Projects Panel</i></h3>

@if (ViewBag.ProjList != null)
{
    <table>
        <thead>
            <tr>
                <td>Projects in my Department:</td>
            </tr>
            <tr>
                <td>Project Name</td>
                <td>Primary Investigator</td>
                <td>Data Manager</td>
                <td>Size (GB)</td>
            </tr>
        </thead>
        <tbody>
            @foreach (var item in ViewBag.ProjList)
            {
                <tr>
                    <td>@item.strProjectName</td>
                    <td>@item.PINAME</td>
                    <td>@item.DMNAME</td>
                    <td>@item.intStorageSize</td>
                </tr>
            }

        </tbody>
    </table>
}
